package com.wilmer.children.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 幼儿对象 yw_children
 *
 * @author hans
 * @date 2024-05-19
 */
@Data
public class YwChildren extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long children;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 家长id */
    @Excel(name = "家长id")
    private Long parentId;

    /** 姓名 */
    @Excel(name = "性别")
    private String name;
    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String address;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentName;

    /** 家长电话 */
    @Excel(name = "家长电话")
    private String parentPhone;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String emergencyContactName;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String emergencyContactPhone;

}
